<?php

require_once('../resources/common.php');
require_once('../resources/grooveshark.php');

$grooveshark = new grooveshark;

$song = $_POST['song'];
$artist = $_POST['artist'];
$album = $_POST['album'];

if (isset($song) && isset($artist) && isset($album))
	$grooveshark->render_player($song, $artist, $album);

?>